package com.sc.nft.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * mate用户信息Dao-详情列表
 */
@Data
public class UserMangeDaoUserInfoVO {
    @ApiModelProperty("用户id")
    private Long id;
    @ApiModelProperty("用户手机号")
    private String userTel;
    @ApiModelProperty("余额")
    private BigDecimal balance;
    @ApiModelProperty("消费金额")
    private BigDecimal holdToken;
    @ApiModelProperty("总收益")
    private BigDecimal sumIncome;
    @ApiModelProperty("直推用户数量")
    private Long directUserCount;
    @ApiModelProperty("直推消费")
    private BigDecimal directUserMoney;
    @ApiModelProperty("间推用户数量")
    private Long indirectUserCount;
    @ApiModelProperty("间推用户消费")
    private BigDecimal indirectUserMoney;
    @ApiModelProperty("团队人数")
    private Long teamSum;
    @ApiModelProperty("团队消费")
    private BigDecimal teamMoney;

    public void setBalance(BigDecimal balance) {
        this.balance = balance.stripTrailingZeros();
    }

    public void setHoldToken(BigDecimal holdToken) {
        this.holdToken = holdToken.stripTrailingZeros();
    }

    public void setSumIncome(BigDecimal sumIncome) {
        this.sumIncome = sumIncome.stripTrailingZeros();
    }

    public void setDirectUserMoney(BigDecimal directUserMoney) {
        this.directUserMoney = directUserMoney.stripTrailingZeros();
    }

    public void setIndirectUserMoney(BigDecimal indirectUserMoney) {
        this.indirectUserMoney = indirectUserMoney.stripTrailingZeros();
    }

    public void setTeamMoney(BigDecimal teamMoney) {
        this.teamMoney = teamMoney.stripTrailingZeros();
    }
}
